﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace UI.logwork
{
    public partial class looklogwork : Form
    {
        public looklogwork()
        {
            InitializeComponent();
        }

        private void 查看详细日志ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            
            int logid= Convert.ToInt32(skinDataGridView1.CurrentRow.Cells["工作日志ID"].Value);

            UI.logwork.xxlog l = new UI.logwork.xxlog();
            l.logid = logid;
            l.Show();

        }

        private void looklogwork_Load(object sender, EventArgs e)
        {
            skinDataGridView1.DataSource = DAL.UserServer.SelectAllWorklog().Tables[0];

        }
    }
}
